<div class="bg-info hidden" id="banner-message">
    These docs are from an older version of sinon.
    Do you want the <a href="/releases/latest/">latest</a> docs?
</div>

<script>
    if (site.showBanner) {
        document.getElementById("banner-message").classList.remove("hidden");
    }
</script>
